package com.nzw.pojo.shift;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by lenovo on 2018/3/21.
 *
 * 交班实体类
 */


@Table(name = "t_shift")
public class Shift {

    private Long id;                //id
    private String shiftName;       //交班名称
    private String shiftNo;         //交班号
    private Date stratDate;         //开始时间
    private Date endDate;           //结束时间
    private String operator;        //操作员
    private Long shopId;            //门店id
    private Boolean isShift;        //是否交班
    private Integer orderTotal;     //加油订单总数
    private Integer totalMoney;     //加油订单总金额
    private Integer discount;       //加油优惠金额
    private Integer refund;         //加油退款金额
    private Integer income;         //加油实际收入
    private Integer wxoil;          //加油微信油品金额
    private Integer wxCommodity;    //微信商品金额
    private Integer centralOil;     //中控oil
    private Integer centralCommodity;//中控商品
    private Integer errorMoney;     //异常金额
    private Integer totalIntagral;  //总积分
    private Integer errorNum;       //异常笔数
    private Integer refundNum;      //退款笔数
    private Integer paycordTotal;   //充值总金额
    private Integer payOrderNum;    //充值订单总数
    private Integer orderOverNum;   //礼品核销数量
    private Integer total;          //值班实收入




    @Column(name = "id")
    public Long getId() {
        return id;
    }


    public void setId(Long id) {
        this.id = id;
    }


    @Column(name = "shiftName")
    public String getShiftName() {
        return shiftName;
    }

    public void setShiftName(String shiftName) {
        this.shiftName = shiftName;
    }


    @Column(name = "stratDate")
    public Date getStratDate() {
        return stratDate;
    }

    public void setStratDate(Date stratDate) {
        this.stratDate = stratDate;
    }


    @Column(name = "shiftNo")
    public String getShiftNo() {
        return shiftNo;
    }

    public void setShiftNo(String shiftNo) {
        this.shiftNo = shiftNo;
    }

    @Column(name = "endDate")
    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }


    @Column(name = "operator")
    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }


    @Column(name = "shopId")
    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    @Column(name = "orderTotal")
    public Integer getOrderTotal() {
        return orderTotal;
    }

    public void setOrderTotal(Integer orderTotal) {
        this.orderTotal = orderTotal;
    }


    @Column(name = "totalMoney")
    public Integer getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Integer totalMoney) {
        this.totalMoney = totalMoney;
    }

    @Column(name = "discount")
    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    @Column(name = "refund")
    public Integer getRefund() {
        return refund;
    }

    public void setRefund(Integer refund) {
        this.refund = refund;
    }

    @Column(name = "income")
    public Integer getIncome() {
        return income;
    }

    public void setIncome(Integer income) {
        this.income = income;
    }

    @Column(name = "wxoil")
    public Integer getWxoil() {
        return wxoil;
    }

    public void setWxoil(Integer wxoil) {
        this.wxoil = wxoil;
    }

    @Column(name = "wxCommodity")
    public Integer getWxCommodity() {
        return wxCommodity;
    }

    public void setWxCommodity(Integer wxCommodity) {
        this.wxCommodity = wxCommodity;
    }


    @Column(name = "errorMoney")
    public Integer getErrorMoney() {
        return errorMoney;
    }

    public void setErrorMoney(Integer errorMoney) {
        this.errorMoney = errorMoney;
    }


    @Column(name = "errorNum")
    public Integer getErrorNum() {
        return errorNum;
    }

    public void setErrorNum(Integer errorNum) {
        this.errorNum = errorNum;
    }

    @Column(name = "totalIntagral")
    public Integer getTotalIntagral() {
        return totalIntagral;
    }

    public void setTotalIntagral(Integer totalIntagral) {
        this.totalIntagral = totalIntagral;
    }

    @Column(name = "refundNum")
    public Integer getRefundNum() {
        return refundNum;
    }

    public void setRefundNum(Integer refundNum) {
        this.refundNum = refundNum;
    }


    @Column(name = "isShift")
    public Boolean getIsShift() {
        return isShift;
    }

    public void setIsShift(Boolean shift) {
        this.isShift = shift;
    }



    @Column(name = "centralOil")
    public Integer getCentralOil() {
        return centralOil;
    }


    public void setCentralOil(Integer centralOil) {
        this.centralOil = centralOil;
    }

    @Column(name = "centralCommodity")
    public Integer getCentralCommodity() {
        return centralCommodity;
    }

    public void setCentralCommodity(Integer centralCommodity) {
        this.centralCommodity = centralCommodity;
    }

    @Column(name = "paycordTotal")
    public Integer getPaycordTotal() {
        return paycordTotal;
    }


    public void setPaycordTotal(Integer paycordTotal) {
        this.paycordTotal = paycordTotal;
    }

    @Column(name = "payOrderNum")
    public Integer getPayOrderNum() {
        return payOrderNum;
    }

    public void setPayOrderNum(Integer payOrderNum) {
        this.payOrderNum = payOrderNum;
    }

    @Column(name = "orderOverNum")
    public Integer getOrderOverNum() {
        return orderOverNum;
    }

    public void setOrderOverNum(Integer orderOverNum) {
        this.orderOverNum = orderOverNum;
    }

    @Column(name = "total")
    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}
